<?php

namespace App\Models;

use Illuminate\Notifications\Notifiable;    

class Applogs extends Base
{
    use Notifiable;
    // 对于需要连接不同数据库的情况


     protected $connection = [
        'driver' => 'mysql',
/*        'host' => env('DB_HOST', '127.0.0.1'),
        'port' => env('DB_PORT', '3306'),
        'database' => env('DB_DATABASE', 'forge'),
        'username' => env('DB_USERNAME', 'forge'),
        'password' => env('DB_PASSWORD', ''),*/
        'prefix' => '', // 明确设置为空
    ];
    public $table='app_logs';  // 不带前缀的表名

    
    public $timestamps = false;

    /**
     * The attributes that are mass assignable.
     *
     * @var array<int, string>
     */
    protected $fillable = [
    ];

    /**
     * The attributes that should be hidden for serialization.
     *
     * @var array<int, string>
     */
    protected $hidden = [
        
    ];

    /**
     * The attributes that should be cast.
     *
     * @var array<string, string>
     */
    protected $casts = [
        
    ];




}
